package com.leesche.zcsp.node.web.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PubDeviceBalanceCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PubDeviceBalanceCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBalanceidIsNull() {
            addCriterion("BalanceID is null");
            return (Criteria) this;
        }

        public Criteria andBalanceidIsNotNull() {
            addCriterion("BalanceID is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceidEqualTo(Long value) {
            addCriterion("BalanceID =", value, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidNotEqualTo(Long value) {
            addCriterion("BalanceID <>", value, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidGreaterThan(Long value) {
            addCriterion("BalanceID >", value, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidGreaterThanOrEqualTo(Long value) {
            addCriterion("BalanceID >=", value, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidLessThan(Long value) {
            addCriterion("BalanceID <", value, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidLessThanOrEqualTo(Long value) {
            addCriterion("BalanceID <=", value, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidIn(List<Long> values) {
            addCriterion("BalanceID in", values, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidNotIn(List<Long> values) {
            addCriterion("BalanceID not in", values, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidBetween(Long value1, Long value2) {
            addCriterion("BalanceID between", value1, value2, "balanceid");
            return (Criteria) this;
        }

        public Criteria andBalanceidNotBetween(Long value1, Long value2) {
            addCriterion("BalanceID not between", value1, value2, "balanceid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Long value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Long value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Long value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Long value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Long value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Long> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Long> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Long value1, Long value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Long value1, Long value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNull() {
            addCriterion("DeviceID is null");
            return (Criteria) this;
        }

        public Criteria andDeviceidIsNotNull() {
            addCriterion("DeviceID is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceidEqualTo(Long value) {
            addCriterion("DeviceID =", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotEqualTo(Long value) {
            addCriterion("DeviceID <>", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThan(Long value) {
            addCriterion("DeviceID >", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidGreaterThanOrEqualTo(Long value) {
            addCriterion("DeviceID >=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThan(Long value) {
            addCriterion("DeviceID <", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidLessThanOrEqualTo(Long value) {
            addCriterion("DeviceID <=", value, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidIn(List<Long> values) {
            addCriterion("DeviceID in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotIn(List<Long> values) {
            addCriterion("DeviceID not in", values, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidBetween(Long value1, Long value2) {
            addCriterion("DeviceID between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andDeviceidNotBetween(Long value1, Long value2) {
            addCriterion("DeviceID not between", value1, value2, "deviceid");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceIsNull() {
            addCriterion("WechatBalance is null");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceIsNotNull() {
            addCriterion("WechatBalance is not null");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceEqualTo(Long value) {
            addCriterion("WechatBalance =", value, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceNotEqualTo(Long value) {
            addCriterion("WechatBalance <>", value, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceGreaterThan(Long value) {
            addCriterion("WechatBalance >", value, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("WechatBalance >=", value, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceLessThan(Long value) {
            addCriterion("WechatBalance <", value, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceLessThanOrEqualTo(Long value) {
            addCriterion("WechatBalance <=", value, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceIn(List<Long> values) {
            addCriterion("WechatBalance in", values, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceNotIn(List<Long> values) {
            addCriterion("WechatBalance not in", values, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceBetween(Long value1, Long value2) {
            addCriterion("WechatBalance between", value1, value2, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andWechatbalanceNotBetween(Long value1, Long value2) {
            addCriterion("WechatBalance not between", value1, value2, "wechatbalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceIsNull() {
            addCriterion("AlipayBalance is null");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceIsNotNull() {
            addCriterion("AlipayBalance is not null");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceEqualTo(Long value) {
            addCriterion("AlipayBalance =", value, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceNotEqualTo(Long value) {
            addCriterion("AlipayBalance <>", value, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceGreaterThan(Long value) {
            addCriterion("AlipayBalance >", value, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("AlipayBalance >=", value, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceLessThan(Long value) {
            addCriterion("AlipayBalance <", value, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceLessThanOrEqualTo(Long value) {
            addCriterion("AlipayBalance <=", value, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceIn(List<Long> values) {
            addCriterion("AlipayBalance in", values, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceNotIn(List<Long> values) {
            addCriterion("AlipayBalance not in", values, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceBetween(Long value1, Long value2) {
            addCriterion("AlipayBalance between", value1, value2, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andAlipaybalanceNotBetween(Long value1, Long value2) {
            addCriterion("AlipayBalance not between", value1, value2, "alipaybalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceIsNull() {
            addCriterion("CoinBalance is null");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceIsNotNull() {
            addCriterion("CoinBalance is not null");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceEqualTo(Long value) {
            addCriterion("CoinBalance =", value, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceNotEqualTo(Long value) {
            addCriterion("CoinBalance <>", value, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceGreaterThan(Long value) {
            addCriterion("CoinBalance >", value, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("CoinBalance >=", value, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceLessThan(Long value) {
            addCriterion("CoinBalance <", value, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceLessThanOrEqualTo(Long value) {
            addCriterion("CoinBalance <=", value, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceIn(List<Long> values) {
            addCriterion("CoinBalance in", values, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceNotIn(List<Long> values) {
            addCriterion("CoinBalance not in", values, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceBetween(Long value1, Long value2) {
            addCriterion("CoinBalance between", value1, value2, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andCoinbalanceNotBetween(Long value1, Long value2) {
            addCriterion("CoinBalance not between", value1, value2, "coinbalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceIsNull() {
            addCriterion("OneBalance is null");
            return (Criteria) this;
        }

        public Criteria andOnebalanceIsNotNull() {
            addCriterion("OneBalance is not null");
            return (Criteria) this;
        }

        public Criteria andOnebalanceEqualTo(Long value) {
            addCriterion("OneBalance =", value, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceNotEqualTo(Long value) {
            addCriterion("OneBalance <>", value, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceGreaterThan(Long value) {
            addCriterion("OneBalance >", value, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("OneBalance >=", value, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceLessThan(Long value) {
            addCriterion("OneBalance <", value, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceLessThanOrEqualTo(Long value) {
            addCriterion("OneBalance <=", value, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceIn(List<Long> values) {
            addCriterion("OneBalance in", values, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceNotIn(List<Long> values) {
            addCriterion("OneBalance not in", values, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceBetween(Long value1, Long value2) {
            addCriterion("OneBalance between", value1, value2, "onebalance");
            return (Criteria) this;
        }

        public Criteria andOnebalanceNotBetween(Long value1, Long value2) {
            addCriterion("OneBalance not between", value1, value2, "onebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceIsNull() {
            addCriterion("FileBalance is null");
            return (Criteria) this;
        }

        public Criteria andFilebalanceIsNotNull() {
            addCriterion("FileBalance is not null");
            return (Criteria) this;
        }

        public Criteria andFilebalanceEqualTo(Long value) {
            addCriterion("FileBalance =", value, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceNotEqualTo(Long value) {
            addCriterion("FileBalance <>", value, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceGreaterThan(Long value) {
            addCriterion("FileBalance >", value, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("FileBalance >=", value, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceLessThan(Long value) {
            addCriterion("FileBalance <", value, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceLessThanOrEqualTo(Long value) {
            addCriterion("FileBalance <=", value, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceIn(List<Long> values) {
            addCriterion("FileBalance in", values, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceNotIn(List<Long> values) {
            addCriterion("FileBalance not in", values, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceBetween(Long value1, Long value2) {
            addCriterion("FileBalance between", value1, value2, "filebalance");
            return (Criteria) this;
        }

        public Criteria andFilebalanceNotBetween(Long value1, Long value2) {
            addCriterion("FileBalance not between", value1, value2, "filebalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceIsNull() {
            addCriterion("TenBalance is null");
            return (Criteria) this;
        }

        public Criteria andTenbalanceIsNotNull() {
            addCriterion("TenBalance is not null");
            return (Criteria) this;
        }

        public Criteria andTenbalanceEqualTo(Long value) {
            addCriterion("TenBalance =", value, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceNotEqualTo(Long value) {
            addCriterion("TenBalance <>", value, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceGreaterThan(Long value) {
            addCriterion("TenBalance >", value, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("TenBalance >=", value, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceLessThan(Long value) {
            addCriterion("TenBalance <", value, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceLessThanOrEqualTo(Long value) {
            addCriterion("TenBalance <=", value, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceIn(List<Long> values) {
            addCriterion("TenBalance in", values, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceNotIn(List<Long> values) {
            addCriterion("TenBalance not in", values, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceBetween(Long value1, Long value2) {
            addCriterion("TenBalance between", value1, value2, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTenbalanceNotBetween(Long value1, Long value2) {
            addCriterion("TenBalance not between", value1, value2, "tenbalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceIsNull() {
            addCriterion("TwentyBalance is null");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceIsNotNull() {
            addCriterion("TwentyBalance is not null");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceEqualTo(Long value) {
            addCriterion("TwentyBalance =", value, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceNotEqualTo(Long value) {
            addCriterion("TwentyBalance <>", value, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceGreaterThan(Long value) {
            addCriterion("TwentyBalance >", value, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("TwentyBalance >=", value, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceLessThan(Long value) {
            addCriterion("TwentyBalance <", value, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceLessThanOrEqualTo(Long value) {
            addCriterion("TwentyBalance <=", value, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceIn(List<Long> values) {
            addCriterion("TwentyBalance in", values, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceNotIn(List<Long> values) {
            addCriterion("TwentyBalance not in", values, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceBetween(Long value1, Long value2) {
            addCriterion("TwentyBalance between", value1, value2, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andTwentybalanceNotBetween(Long value1, Long value2) {
            addCriterion("TwentyBalance not between", value1, value2, "twentybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceIsNull() {
            addCriterion("FiftyBalance is null");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceIsNotNull() {
            addCriterion("FiftyBalance is not null");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceEqualTo(Long value) {
            addCriterion("FiftyBalance =", value, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceNotEqualTo(Long value) {
            addCriterion("FiftyBalance <>", value, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceGreaterThan(Long value) {
            addCriterion("FiftyBalance >", value, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("FiftyBalance >=", value, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceLessThan(Long value) {
            addCriterion("FiftyBalance <", value, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceLessThanOrEqualTo(Long value) {
            addCriterion("FiftyBalance <=", value, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceIn(List<Long> values) {
            addCriterion("FiftyBalance in", values, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceNotIn(List<Long> values) {
            addCriterion("FiftyBalance not in", values, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceBetween(Long value1, Long value2) {
            addCriterion("FiftyBalance between", value1, value2, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andFiftybalanceNotBetween(Long value1, Long value2) {
            addCriterion("FiftyBalance not between", value1, value2, "fiftybalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceIsNull() {
            addCriterion("HundredBalance is null");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceIsNotNull() {
            addCriterion("HundredBalance is not null");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceEqualTo(Long value) {
            addCriterion("HundredBalance =", value, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceNotEqualTo(Long value) {
            addCriterion("HundredBalance <>", value, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceGreaterThan(Long value) {
            addCriterion("HundredBalance >", value, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("HundredBalance >=", value, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceLessThan(Long value) {
            addCriterion("HundredBalance <", value, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceLessThanOrEqualTo(Long value) {
            addCriterion("HundredBalance <=", value, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceIn(List<Long> values) {
            addCriterion("HundredBalance in", values, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceNotIn(List<Long> values) {
            addCriterion("HundredBalance not in", values, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceBetween(Long value1, Long value2) {
            addCriterion("HundredBalance between", value1, value2, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andHundredbalanceNotBetween(Long value1, Long value2) {
            addCriterion("HundredBalance not between", value1, value2, "hundredbalance");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutIsNull() {
            addCriterion("GameCoinOut is null");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutIsNotNull() {
            addCriterion("GameCoinOut is not null");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutEqualTo(Long value) {
            addCriterion("GameCoinOut =", value, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutNotEqualTo(Long value) {
            addCriterion("GameCoinOut <>", value, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutGreaterThan(Long value) {
            addCriterion("GameCoinOut >", value, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutGreaterThanOrEqualTo(Long value) {
            addCriterion("GameCoinOut >=", value, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutLessThan(Long value) {
            addCriterion("GameCoinOut <", value, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutLessThanOrEqualTo(Long value) {
            addCriterion("GameCoinOut <=", value, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutIn(List<Long> values) {
            addCriterion("GameCoinOut in", values, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutNotIn(List<Long> values) {
            addCriterion("GameCoinOut not in", values, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutBetween(Long value1, Long value2) {
            addCriterion("GameCoinOut between", value1, value2, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinoutNotBetween(Long value1, Long value2) {
            addCriterion("GameCoinOut not between", value1, value2, "gamecoinout");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuIsNull() {
            addCriterion("GameCoinBu is null");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuIsNotNull() {
            addCriterion("GameCoinBu is not null");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuEqualTo(Long value) {
            addCriterion("GameCoinBu =", value, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuNotEqualTo(Long value) {
            addCriterion("GameCoinBu <>", value, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuGreaterThan(Long value) {
            addCriterion("GameCoinBu >", value, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuGreaterThanOrEqualTo(Long value) {
            addCriterion("GameCoinBu >=", value, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuLessThan(Long value) {
            addCriterion("GameCoinBu <", value, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuLessThanOrEqualTo(Long value) {
            addCriterion("GameCoinBu <=", value, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuIn(List<Long> values) {
            addCriterion("GameCoinBu in", values, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuNotIn(List<Long> values) {
            addCriterion("GameCoinBu not in", values, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuBetween(Long value1, Long value2) {
            addCriterion("GameCoinBu between", value1, value2, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinbuNotBetween(Long value1, Long value2) {
            addCriterion("GameCoinBu not between", value1, value2, "gamecoinbu");
            return (Criteria) this;
        }

        public Criteria andGamecoinIsNull() {
            addCriterion("GameCoin is null");
            return (Criteria) this;
        }

        public Criteria andGamecoinIsNotNull() {
            addCriterion("GameCoin is not null");
            return (Criteria) this;
        }

        public Criteria andGamecoinEqualTo(Long value) {
            addCriterion("GameCoin =", value, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinNotEqualTo(Long value) {
            addCriterion("GameCoin <>", value, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinGreaterThan(Long value) {
            addCriterion("GameCoin >", value, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinGreaterThanOrEqualTo(Long value) {
            addCriterion("GameCoin >=", value, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinLessThan(Long value) {
            addCriterion("GameCoin <", value, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinLessThanOrEqualTo(Long value) {
            addCriterion("GameCoin <=", value, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinIn(List<Long> values) {
            addCriterion("GameCoin in", values, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinNotIn(List<Long> values) {
            addCriterion("GameCoin not in", values, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinBetween(Long value1, Long value2) {
            addCriterion("GameCoin between", value1, value2, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGamecoinNotBetween(Long value1, Long value2) {
            addCriterion("GameCoin not between", value1, value2, "gamecoin");
            return (Criteria) this;
        }

        public Criteria andGiftIsNull() {
            addCriterion("Gift is null");
            return (Criteria) this;
        }

        public Criteria andGiftIsNotNull() {
            addCriterion("Gift is not null");
            return (Criteria) this;
        }

        public Criteria andGiftEqualTo(Long value) {
            addCriterion("Gift =", value, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftNotEqualTo(Long value) {
            addCriterion("Gift <>", value, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftGreaterThan(Long value) {
            addCriterion("Gift >", value, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftGreaterThanOrEqualTo(Long value) {
            addCriterion("Gift >=", value, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftLessThan(Long value) {
            addCriterion("Gift <", value, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftLessThanOrEqualTo(Long value) {
            addCriterion("Gift <=", value, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftIn(List<Long> values) {
            addCriterion("Gift in", values, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftNotIn(List<Long> values) {
            addCriterion("Gift not in", values, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftBetween(Long value1, Long value2) {
            addCriterion("Gift between", value1, value2, "gift");
            return (Criteria) this;
        }

        public Criteria andGiftNotBetween(Long value1, Long value2) {
            addCriterion("Gift not between", value1, value2, "gift");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualIsNull() {
            addCriterion("GameCoinManual is null");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualIsNotNull() {
            addCriterion("GameCoinManual is not null");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualEqualTo(Long value) {
            addCriterion("GameCoinManual =", value, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualNotEqualTo(Long value) {
            addCriterion("GameCoinManual <>", value, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualGreaterThan(Long value) {
            addCriterion("GameCoinManual >", value, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualGreaterThanOrEqualTo(Long value) {
            addCriterion("GameCoinManual >=", value, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualLessThan(Long value) {
            addCriterion("GameCoinManual <", value, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualLessThanOrEqualTo(Long value) {
            addCriterion("GameCoinManual <=", value, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualIn(List<Long> values) {
            addCriterion("GameCoinManual in", values, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualNotIn(List<Long> values) {
            addCriterion("GameCoinManual not in", values, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualBetween(Long value1, Long value2) {
            addCriterion("GameCoinManual between", value1, value2, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andGamecoinmanualNotBetween(Long value1, Long value2) {
            addCriterion("GameCoinManual not between", value1, value2, "gamecoinmanual");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceIsNull() {
            addCriterion("otherBalance is null");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceIsNotNull() {
            addCriterion("otherBalance is not null");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceEqualTo(Long value) {
            addCriterion("otherBalance =", value, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceNotEqualTo(Long value) {
            addCriterion("otherBalance <>", value, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceGreaterThan(Long value) {
            addCriterion("otherBalance >", value, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceGreaterThanOrEqualTo(Long value) {
            addCriterion("otherBalance >=", value, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceLessThan(Long value) {
            addCriterion("otherBalance <", value, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceLessThanOrEqualTo(Long value) {
            addCriterion("otherBalance <=", value, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceIn(List<Long> values) {
            addCriterion("otherBalance in", values, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceNotIn(List<Long> values) {
            addCriterion("otherBalance not in", values, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceBetween(Long value1, Long value2) {
            addCriterion("otherBalance between", value1, value2, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOtherbalanceNotBetween(Long value1, Long value2) {
            addCriterion("otherBalance not between", value1, value2, "otherbalance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceIsNull() {
            addCriterion("other2balance is null");
            return (Criteria) this;
        }

        public Criteria andOther2balanceIsNotNull() {
            addCriterion("other2balance is not null");
            return (Criteria) this;
        }

        public Criteria andOther2balanceEqualTo(Long value) {
            addCriterion("other2balance =", value, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceNotEqualTo(Long value) {
            addCriterion("other2balance <>", value, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceGreaterThan(Long value) {
            addCriterion("other2balance >", value, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceGreaterThanOrEqualTo(Long value) {
            addCriterion("other2balance >=", value, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceLessThan(Long value) {
            addCriterion("other2balance <", value, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceLessThanOrEqualTo(Long value) {
            addCriterion("other2balance <=", value, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceIn(List<Long> values) {
            addCriterion("other2balance in", values, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceNotIn(List<Long> values) {
            addCriterion("other2balance not in", values, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceBetween(Long value1, Long value2) {
            addCriterion("other2balance between", value1, value2, "other2balance");
            return (Criteria) this;
        }

        public Criteria andOther2balanceNotBetween(Long value1, Long value2) {
            addCriterion("other2balance not between", value1, value2, "other2balance");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andBalancetimeIsNull() {
            addCriterion("BalanceTime is null");
            return (Criteria) this;
        }

        public Criteria andBalancetimeIsNotNull() {
            addCriterion("BalanceTime is not null");
            return (Criteria) this;
        }

        public Criteria andBalancetimeEqualTo(Date value) {
            addCriterion("BalanceTime =", value, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeNotEqualTo(Date value) {
            addCriterion("BalanceTime <>", value, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeGreaterThan(Date value) {
            addCriterion("BalanceTime >", value, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("BalanceTime >=", value, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeLessThan(Date value) {
            addCriterion("BalanceTime <", value, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeLessThanOrEqualTo(Date value) {
            addCriterion("BalanceTime <=", value, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeIn(List<Date> values) {
            addCriterion("BalanceTime in", values, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeNotIn(List<Date> values) {
            addCriterion("BalanceTime not in", values, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeBetween(Date value1, Date value2) {
            addCriterion("BalanceTime between", value1, value2, "balancetime");
            return (Criteria) this;
        }

        public Criteria andBalancetimeNotBetween(Date value1, Date value2) {
            addCriterion("BalanceTime not between", value1, value2, "balancetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}